<% for column in UserAsset.content_columns %>
    <%= column.human_name %>
    <% if column.name == "binary_data" %>
        <%= image_tag("/images/#{@photo.id}", :alt => "Image") %>
    <% else %>
        <%=h @photo.send(column.name) %>
    <% end %>
<% end %>